/**
 * 
 */
package io.netty.example.echo;

import java.util.stream.Stream;

/**
 * @CopyRight (c)1993-2017
 * @Project nettydemo
 * @Comments 请输入该类的描述
 * @NameSpace io.netty.example.echo
 * @Author Feonixzw
 * @CreateDate 2018年2月28日
 */
public class NettyUtil {
	public static final String END_OF_LINE = "\n";

	public static String appenEndOfLine(String... message) {
		StringBuilder stringBuilder = new StringBuilder(256);
		Stream.of(message).forEachOrdered(stringBuilder::append);
		stringBuilder.append(END_OF_LINE);
		return stringBuilder.toString();
	}
}
